cached
fun <ObjectType, IdType> ReadCRUDRepo<ObjectType, IdType>.cached(kvCache: FullKVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType): FullReadCRUDCacheRepo<ObjectType, IdType>
Content copied to clipboard
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached( kvCache: FullKVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType): FullCRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard
fun <Key, Value> ReadKeyValueRepo<Key, Value>.cached(kvCache: FullKVCache<Key, Value>): FullReadKeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> ReadKeyValuesRepo<Key, Value>.cached(kvCache: FullKVCache<Key, List<Value>>): FullReadKeyValuesCacheRepo<Key, Value>
Content copied to clipboard